package cn.edu.zut.cs.Model;

import org.springframework.stereotype.Component;

@Component
public class User {
    private int id;
    private String username;
    private String pwd;
    private String nickname;
    private String registetime;
    private String headimage;
    private String personalsignature;
    private String locals;
    private String logouttime;
    private String phone;
    private String sex;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getRegistetime() {
        return registetime;
    }

    public void setRegistetime(String registetime) {
        this.registetime = registetime;
    }

    public String getHeadimage() {
        return headimage;
    }

    public void setHeadimage(String headimage) {
        this.headimage = headimage;
    }

    public String getPersonalsignature() {
        return personalsignature;
    }

    public void setPersonalsignature(String personalsignature) {
        this.personalsignature = personalsignature;
    }

    public String getLocals() {
        return locals;
    }

    public void setLocals(String locals) {
        this.locals = locals;
    }

    public String getLogouttime() {
        return logouttime;
    }

    public void setLogouttime(String logouttime) {
        this.logouttime = logouttime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", pwd='" + pwd + '\'' +
                ", nickname='" + nickname + '\'' +
                ", registetime='" + registetime + '\'' +
                ", headimage='" + headimage + '\'' +
                ", personalsignature='" + personalsignature + '\'' +
                ", locals='" + locals + '\'' +
                ", logouttime='" + logouttime + '\'' +
                ", phone='" + phone + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }
}

